package com.hnuit.Dao;


import com.hnuit.pojo.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;


@Mapper
public interface BookMapper {
    int insertBook(Book book);
    Book findBookById(int id);
    List<Book> findAllBooks();
    int updateBook(Book book);
    int deleteBook(Integer id);
}